#ifndef SERVER_H
#define SERVER_H

#include "global.h"
#include "event/eventtransfer.h"

class Server : public EventTransfer
{
public:
    typedef boost::shared_ptr< Server > Ptr;

public:
    Server();
    ~Server();

public:
    int  start(int argc, char **argv);
protected:
    bool parseCommandLine(int argc, char **argv);
    bool init();
    int  run();
};

#endif // SERVER_H
